import '@/assets/main.scss'

import { createApp } from 'vue'

import App from '@/App.vue'
import router from './router'
import pinia from './stores/index'
import 'virtual:svg-icons-register'
// 样式全局使用
import 'vant/lib/index.css'

const app = createApp(App)

// 创建pinia实例
// const pinia = createPinia()

// 持久化的插件是注册给pinia的
// pinia.use(persi)

app.use(pinia)
app.use(router)
// 所有的注册都要放到mount之前
app.mount('#app')
